home *** CD-ROM | disk | FTP | other *** search
- Path: news.ahc.ameritech.com!datalytics!news
- From: Rob Stewart <stew@datalytics.com>
- Newsgroups: comp.edu,comp.lang.c,comp.lang.c++
- Subject: Re: C or C++ for a 14-year old?
- Date: 4 Jan 1996 16:49:58 GMT
- Organization: Datalytics, Inc
- Message-ID: <4ch0fm$ldg@gold.datalytics.com>
- References: <4b30ld$lp2$1@mhafc.production.compuserve.com> <w31V7MD4ED1aLz3@dexam.another.gun.de> <4bq9vh$11a@queeg.apci.net> <4bqfob$l9a@ixnews3.ix.netcom.com>
- NNTP-Posting-Host: pc071.datalytics.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.22 (Windows; I; 32bit)
-
- joao_raf@ix.netcom.com(Joao Rafael Moraes Nicola ) wrote:
- >In <4bq9vh$11a@queeg.apci.net> Poconnor@apci.net (James O'Connor)
- >writes:
- >>
- >>In <w31V7MD4ED1aLz3@dexam.another.gun.de>, dexam@another.gun.de
- >(Thomas Fischbacher) writes:
- >>>On 18.12.1995 [06:10:53] [103152.3666@compuserve.com (Tom Hope)]
- >wrote the following lines about
- >>>"C or C++ for a 14-year old?"
- >>>
- >>>TH> me to spring for a computer of his own. I told him that if
- >>>TH> he can learn VB and C on my computer, I will buy him one of
- >>>TH> his own.
- >
- > I am a 17 years old high school student. When I was 8 years old, I
- >used to read my uncle's computer books. I didn't even had a computer.
- >One year later my father gave my new computer : Casio PB-1000. I was
- [snip]
- >make a game. Along the years I learned BASIC, Assembly (for the Casio
- >and for 6502,8086 family), C/C++ by myself. Trying to make games I
- >learned how to program 3d graphics, how to make fast assembly routines,
- [snip]
- > I thank my father for giving me the opportunit to have a computer,
- >to go to his work to talk to some computer programmers and for other
- [snip]
-
- My father bought a Commodore VIC-20 for my Mother. She never
- used it but I learned BASIC on it one Saturday (I was about
- 16 yrs old) and began writing simple games for it (like
- hangman, breakout, etc.). Along the way, I taught myself 6502
- machine language (except I had to break down and read a book
- to learn about two's complement math to do backward branches).
-
- I wrote fancy and complicated DOS batch files, Lotus 1-2-3
- macros, MS Word for Windows macros, etc. I bought myself
- a Commodore 64 and wrote more BASIC. I bought a Forth
- cartridge and wrote a lot of Forth code. Then, I taught
- myself C and eventually C++.
-
- I read magazines (like PC Magazine), carefully perusing code
- examples to learn from the authors. I read a number of books
- on C, OOA/OOD, and C++. From there, it was simple experience
- (and continued reading and learning).
-
- The point of all this is that BASIC is fine to learn the ideas
- of programming. I agree with an earlier poster who complained
- about the bad habits that BASIC teaches you. On the other
- hand, BASIC can be written pretty well, so if you also learn
- how to program well, BASIC can do the job pretty well.
- Besides, BASIC is the Beginner's All-purpose Symbolic
- Instruction Code. It was designed to be easy to learn.
-
- You must be forward looking, however, and encourage your
- son to experiment with different languages, especially those
- that are currently the most popular. By experimenting with
- different languages, your son can grow to understand the
- fundamentals of programming rather than just one way to
- implement them. This will make it easy to migrate from one
- language to another, which is often required (consider all the
- C programmers who are losing jobs to C++ programmers these
- days--whether or not they like it!) Focusing on the most
- popular languages will make your son more marketable to
- mainstream businesses should he choose a programming career.
-
- Above all, encourage your son to develop good habits from the
- start. He should design his software before writing it
- (something all novice programmers find irksome). He should
- develop a good coding style by observing the code of others
- and reading books or FAQs on good style for the chosen
- language. There's more, but I'm sure you get the idea.
-
- (In case you're wondering, I've been a software engineer for
- many years now. I'm presently one of the principal software
- engineers at a high tech software development company. We
- focus on C++, but I still find myself writing macros for MS
- Word in WordBasic, DOS batch files, UNIX shell scripts, etc.
- As you can see, even today I employ many different
- languages--including English--for my programming.)
-
- --
- Robert Stewart | My opinions are usually my own.
- Datalytics, Inc.
- (513)226-7700
- stew@datalytics.com
-
-
-